import {Dropdown, Flex, Image, Space} from 'antd';
import MyLogo from '/public/images/mylogo.png'

const items = [
    {
        key: '1',
        label: (
            <a target="_blank" rel="noopener noreferrer">
                加纳
            </a>
        ),
    },
];


const MyHeader = () => {
    return (
        <>
            <Flex justify={'space-between'} align={"center"}>
                {/*这里可以设置网站标题*/}
                <div></div>
                <Space>
                    <Dropdown
                        menu={{
                            items,
                        }}
                    >
                        <Image
                            width={40}
                            style={{borderRadius: 5}}
                            src={MyLogo}
                        />
                    </Dropdown>
                </Space>
            </Flex>

        </>
    )
}

export default MyHeader
